<template>
  <div>
    <!-- 路由缓存 -->
    <router-view v-slot="{ Component }">
      <keep-alive>
        <component :is="Component"></component>
      </keep-alive>
    </router-view>
  </div>
</template>
<script setup>
</script>
<style>
* {
  margin: 0;
  padding: 0;
}
ul,
a {
  list-style: none;
}
</style>